#! /bin/bash

DIR=$1
CRASH=$2
NETHOME=$3

export NETKIT_HOME="$NETHOME"
export PATH=$PATH:$NETKIT_HOME/bin

if $CRASH ; then
	lcrash -d $DIR
else
	lhalt -d $DIR
fi

exit;
